﻿namespace Softserve.Pottery.Manufacturing.Contracts
{
    using System.ServiceModel;
    using Softserve.Pottery.Manufacturing.Domains;

    /// <summary>
    /// TODO: add the necessary functionality
    /// </summary>

    [ServiceContract]
    public interface ITeamContract
    {
        [OperationContract]
        Team CreateNewTeam(int id, int masterId, int performance, double defectPercent);

        [OperationContract]
        Team SetNewPerformance(int performance, Team item);

        [OperationContract]
        Team SetNewDfectPercent(double defectPercent, Team item);
    }
}
